package com.alingrad.android.froyoengine.graphics;

import javax.microedition.khronos.opengles.GL10;

import com.alingrad.android.froyoengine.AllocationGuard;

public class RenderNode extends AllocationGuard {
	public float mX;
	public float mY;
	public float mZ;
	public float mScaleX;
	public float mScaleY;
	public float mRotation;
	public Renderable mTask;
	
	public RenderNode() {
		super();
	}
	
	public void draw(GL10 gl) {
		mTask.draw(gl, mX, mY, mZ, mScaleX, mScaleY, mRotation);
	}
}
